package com.frank.stock4j.dataloader;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EntityScan(basePackages = { "com.frank.stock4j.tusharepro.entity"})
@ComponentScan(basePackages = {"com.frank.stock4j.tusharepro", "com.frank.stock4j.dataloader"  })
@MapperScan("com.frank.stock4j.tusharepro.mapper")
public class Stock4jApplication {

    public static void main(String[] args) {

        SpringApplication.run(Stock4jApplication.class, args);
    }

}

